class AddSemesterRegistrations < ActiveRecord::Migration
  def self.up
    SemesterRegistration.create(:semester_id => 7, :student_id => 2, :open_datetime => Time.parse("8/21").to_s(:db), :close_datetime => Time.parse("12/13").to_s(:db))
    SemesterRegistration.create(:student_id => 1, :semester_id => 7, :open_datetime => Time.parse("8/20").to_s(:db), :close_datetime => Time.parse("12/13").to_s(:db))
  end

  def self.down
    SemesterRegistration.destroy_all
  end
end
